@ManagedComponent()
class DemoComponent extends CommonClass {
    constructor() {
        super('DemoComponent');
        this.metaInfo.name = 'DemoComponent';
        this.metaInfo.type = ConstVariable.PresenterType.FUNCTIONAL;
    }

    $launch() {
        console.log("run launch");
    }

    $release() {
        console.log("run release");
    }
}